@charset "utf-8";
/* CSS Document */

/*-------------------------------------
Sidebar Allgemein
-------------------------------------*/

.sidebar {
  position: fixed;
  top: var(--header-height);
  right: 0;
  width: var(--sidebar-width);
  height: calc(
    100vh - var(--header-height)
  ); /* 100vh minus Header-Höhe verhindert Scrollen über den Bildschirmrand */
  background-color: rgba(230, 230, 230, 0.98);
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(0);
  /* WICHTIG: KEIN overflow hier auf der .sidebar setzen! */
}

/* Neuer innerer Container für den eigentlichen Inhalt */
.sidebar-content {
  padding: 10px 5px;
  width: 100%;
  height: 100%;
  overflow-y: auto; /* Scrollen nur für den Inhalt aktivieren */
  padding-bottom: 80px; /* Platz für den Footer */
}

.handle {
  position: absolute;
  left: -30px; /* Bleibt jetzt sichtbar, da .sidebar kein overflow hat */
  top: 20px;
  width: 30px;
  height: 35px;
  background: #e6e6e6;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 5px 0 0 5px;
  font-size: 40px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

/* Zustand wenn geschlossen */
.sidebar.closed {
  transform: translateX(100%);
}
/*
#sidebar.closed {
    display: none; 
} */

/* Inhalt der Sidebar 
.sidebar-content {
	padding: 20px 5px;
	overflow-y: auto;
	height: 100%;
	box-sizing: border-box;
	justify-content: center
}*/

.sidebar-content h2 {
  margin-top: 0;
  color: #333;
}

/*-------------------------------------
Sidebar eMail An-/Abmeldung
siehe newsletter/css/default.css
-------------------------------------*/

/*-------------------------------------
Countdown nächstes Treffen
-------------------------------------*/

.countdown1 {
  padding: 5px;
  border: 2px solid #033e87;
  background-color: #cfd0d1;
  color: #000000;
  font-size: 80%;
  line-height: normal;
  font-weight: normal;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  -ms-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
}

/*-------------------------------------
nächstes Treffen Bilder in Sidebar
-------------------------------------*/

.messagestyle {
  font-family: Arial;
  font-size: 11px;
  color: white;
  background-color: #888888;
  text-align: center;
  bottom: 0px;
  vertical-align: middle;
  margin: 0px;
  line-height: 15px;
  z-index: 110;
}
